<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:p="http://primefaces.org/ui">

<ui:composition template="/sistema/template/template.xhtml">

	<ui:define name="corpo">

		<h1>
			<h:outputLabel value="Página de Erro!" />
		</h1>

		<center>
			<p:fieldset style="margin-left: 69px; width: 828px">
				<h:outputLabel value="Desculpe! Ocorreu um erro inesperado no sistema... Tente novamente ou contacte o administrador. :'(" />
				<br />
				<br />
				<br />

				<h:inputTextarea style="width: 100%;" cols="150" rows="30" readonly="true" value="#{erroMB.erro}" />
				<h:outputText value="#{erroMB.stackTrace}" />

			</p:fieldset>
		</center>
	</ui:define>

</ui:composition>
</html>